module.exports = app => {
	const { router, controller } = app;
	router.post('/reg', controller.user.reg);
	router.post('/login', controller.user.login);
	router.get('/logout', controller.user.logout);
	router.get('/getSize', controller.user.getSize);
};
